import Home from '@/views/Home';
import Blog from '@/views/Blog';
import Project from '@/views/Project';
import About from '@/views/About';
import Message from '@/views/Message';
import Detail from '@/views/Blog/Detail';


export default [
    {
        name: 'Home',
        path: '/',
        component: Home,
        meta: {
            title: '首页'
        }
    },
    {
        name: 'Blog',
        path: '/blog',
        component: Blog,
        meta: {
            title: '文章'
        }
    },
    {
        name: "CategoryBlog",
        path: "/blog/cate/:categoryId",
        component: Blog,
        meta: {
            title: '文章分类'
        }
    },
    {
        name: "BlogDetail",
        path: "/blog/:id",
        component: Detail,
        meta: {
            title: '文章详情'
        }
    },
    {
        name: 'Project',
        path: '/project',
        component: Project,
        meta: {
            title: '项目&效果'
        }
    },
    {
        name: 'About',
        path: '/about',
        component: About,
        meta: {
            title: '关于我'
        }
    },
    {
        name: 'Message',
        path: '/message',
        component: Message,
        meta: {
            title: '留言板'
        }
    }
];